﻿using System;
using System.Collections.Generic;
using FrameWork.Context;

namespace MyDb.DoMain.Entity.DbEntity
{
    public class T_User : ModelBase
    {

        /// <summary>
        /// - 
        /// </summary>
        public string Password {get;set;}

        /// <summary>
        /// -账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// - 真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 年龄 
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 性别：0.保密，1.男，2.女
        /// </summary>
        public byte Sex { get; set; }

        /// <summary>
        /// 头像地址
        /// </summary>
        public string HeadImg { set; get; }

        /// <summary>
        /// - 
        /// </summary>
        public bool IsDel {get;set;}

        /// <summary>
        /// - 
        /// </summary>
        public bool IsUsed {get;set;}

        /// <summary>
        /// - 
        /// </summary>
        public DateTime CreateTime {get;set;}

        /// <summary>
        /// 关联列表
        /// </summary>
        public List<T_UserRole> UserRoles { set; get; }

    }
}
